import { LayoutIndex } from '@/router/constant'
import lazyLoad from '@/router/utils/lazyLoad'
import { lazy } from 'react'

// 数据大屏模块
const dataScreenRouter = [
  {
    element: <LayoutIndex />,
    children: [
      {
        path: '/dataScreen/index',
        element: lazyLoad(lazy(() => import('@/views/dataScreen/index'))),
        meta: {
          requiresAuth: true,
          title: '数据大屏',
          key: 'dataScreen',
        },
      },
    ],
  },
]

export default dataScreenRouter
